<?php
$this->renderPartial('application.modules.member.views.main.info');
$form = $this->beginWidget('CActiveForm', array(
            'id' => 'epay-form',
            'enableClientValidation' => true,
            'clientOptions' => array(
                'validateOnSubmit' => true,
            ),
        ));
//echo $form->errorSummary($model);
?>
<br />
<h1>Payment Online</h1>
<?php echo $form->errorSummary($model,'Error:','',  array('style' => 'color:#a42a27;')); ?>
<div class="add">
  
    <table cellpadding="0" cellspacing="0" border="0">
      <tr class="title">
        <th colspan="2" style="text-align:left;"><strong>Produk</strong></th>
      </tr>
      <tr>
        <th width="100" valign="top">Pilih Produk</th>
        <td>
            <?php echo $form->dropDownList($model, 'transaction_products_id', CHtml::listData(epay_products::model()->findAll(), 'products_id', 'products_name'), array('prompt' => 'Please Select Product')); ?>
        </td>
        
      </tr>
      <tr>
        <th width="100" valign="top">Nomer Rekening</th>
        <td>  <?php echo $form->textField($model, 'transaction_ppob_idpelanggan'); ?></td>
      </tr>
      
      <tr class="title">
        <th colspan="2" style="text-align:left;"><strong>VALIDASI PIN</strong></th>
      </tr>
      <tr>
        <th>PIN</th>
        <td><?php echo $form->textField($model, 'serial_pin'); ?> </td>
      </tr>
      <tr>
        <th>&nbsp;</th>
        <td><input type="submit" name="submit" value="Proses" class="button"></td>
      </tr>
    </table>
</div>
<?php
$this->endWidget();
?>